package com.woniuxy.commons.entity;
/**
 * @program: bzeducation
 * @author: Xingqilin
 * @create: 2020-07-16 10:59
 * @description:写作题库
 */

import java.io.Serializable;
import java.sql.Date;

public class WriterBank implements Serializable {

    private static final long serialVersionUID = 20200716105911L;//具体数值自己定义
    //    写作体ID
    private long writerId;
    //    题目
    private String writerTopic;
    //    出题时间
    private String writerBirth;
    //    出题人
    private String writerFounder;
    //    类型ID
    private long writerType;
    //    知识点ID
    private long writerKnowledge;
    //    分数
    private double writerPoint;
    //    科目
    private String writerSubject;
    //    学期
    private long writerTerm;
    //    图片
    private String writerImg;
    //用来临时保存前端学生的答案
    private String studentAnswer;
    //    作文答案
    private String writerAnswer;
    //    展示知识点
    private String displayKnow;

    public String getStudentAnswer() {
        return studentAnswer;
    }

    public void setStudentAnswer(String studentAnswer) {
        this.studentAnswer = studentAnswer;
    }

    public long getWriterId() {
        return writerId;
    }

    public void setWriterId(long writerId) {
        this.writerId = writerId;
    }


    public String getWriterTopic() {
        return writerTopic;
    }

    public void setWriterTopic(String writerTopic) {
        this.writerTopic = writerTopic;
    }


    public String getWriterBirth() {
        return writerBirth;
    }

    public void setWriterBirth(String writerBirth) {
        this.writerBirth = writerBirth;
    }


    public String getWriterFounder() {
        return writerFounder;
    }

    public void setWriterFounder(String writerFounder) {
        this.writerFounder = writerFounder;
    }


    public long getWriterType() {
        return writerType;
    }

    public void setWriterType(long writerType) {
        this.writerType = writerType;
    }


    public long getWriterKnowledge() {
        return writerKnowledge;
    }

    public void setWriterKnowledge(long writerKnowledge) {
        this.writerKnowledge = writerKnowledge;
    }


    public double getWriterPoint() {
        return writerPoint;
    }

    public void setWriterPoint(double writerPoint) {
        this.writerPoint = writerPoint;
    }


    public String getWriterSubject() {
        return writerSubject;
    }

    public void setWriterSubject(String writerSubject) {
        this.writerSubject = writerSubject;
    }


    public long getWriterTerm() {
        return writerTerm;
    }

    public void setWriterTerm(long writerTerm) {
        this.writerTerm = writerTerm;
    }


    public String getWriterImg() {
        return writerImg;
    }

    public void setWriterImg(String writerImg) {
        this.writerImg = writerImg;
    }

    public String getWriterAnswer() {
        return writerAnswer;
    }

    public void setWriterAnswer(String writerAnswer) {
        this.writerAnswer = writerAnswer;
    }

    public String getDisplayKnow() {
        return displayKnow;
    }

    public void setDisplayKnow(String displayKnow) {
        this.displayKnow = displayKnow;
    }

    @Override
    public String toString() {
        return "<div>\n" +
                "    <div>\n" +
                "        <div>\n" +
                "            <label>\n" + writerTopic + "<br>\n" +
                "            </label><br>\n" +
                "        </div>\n" +
                "        <div class=\"text-success\">范文：" + writerAnswer + "</div>\n" +
                "        <div class=\"text-primary\"><label>知识点：" + displayKnow + "</label></div>\n" +
                "    </div>\n" +
                "</div>";
    }
}
